package za.org.jcicada.genss.sensor.messages;

import java.util.Set;

import za.org.jcicada.genss.messages.BaseMessage;
import za.org.jcicada.genss.sensor.SensorURN;

/**
 * DetachRequest message class.
 * @author rcrida
 */
public class DetachRequest extends BaseMessage {
    
    /**
     * Class serialization version id.
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * Set of sensors to detach from.
     */
    private Set<SensorURN> sensorURNs;

    /**
     * Construct message
     * @param sensorURNs set of sensors to detach from
     */
    public DetachRequest(Set<SensorURN> sensorURNs) {
        this.sensorURNs = sensorURNs;
    }
    
    public Set<SensorURN> getSensorURNs() {
        return sensorURNs;
    }


}
